<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    {{if .}}
        <h1>你已经成年</h1>
    {{else}}
        <h1>你还未成年</h1>
    {{end}}
</body>
</html>